<?php
# http://projects:8081/cdapp-2kt-api/api/flight_plan_load.php
include_once './_portal.php';
include_once './request_sipds.php';

const MIN_TTL = 15 * 1000; # unit: ms
const MAX_TTL = 30 * 1000; # unit: ms
const PARAM_NAME = 'flightPlanRefreshTime';
const API_NAMES = [
  '天府未落地',
  '双流未落地',
  '天府未起飞',
  '双流未起飞',
];

$zutf_arr = request_sipds('天府未落地')['data'];
// var_dump($zutf_arr);
foreach ($zutf_arr as $fpl) {
  echo $fpl['FLTID'] . ' ' . $fpl['ARR'] . ' ' . $fpl['DEP'] . ' ' . $fpl['ACTYPE'] . PHP_EOL;
}